package com.design.pattern.decorator;


/**
 * 定义具体装饰角色B
 */
public class BDecorator extends AbstractDecorator {


    public BDecorator(LoansComponent loansComponent) {
        super(loansComponent);
    }

    @Override
    public void service() {
        super.service();
        System.out.println("V0版本的基础上添加B功能,日志打印");
    }
}
